package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class Account implements Serializable {
    private Integer id;

    /**
	* 所属供应商
	*/
    private Integer supplierId;

    /**
	* 账户名称
	*/
    private String name;

    /**
	* 银行类别(数据字典中获取)
	*/
    //private Integer bankType;
    private Dictionary dictionaryA;
    /**
	* 开户行名称
	*/
    private String bankName;

    /**
	* 银行地址
	*/
    private String address;

    /**
	* 开户行行号
	*/
    private String bankAccount;

    /**
	* 收付款方式(数据字典获取)
	*/
    //private Integer termsPayment;
    private Dictionary dictionaryB;
    /**
	* 品类（数据字典获取）
	*/
    //private Integer category;
    private Dictionary dictionaryC;
    /**
	* 开户许可证
	*/
    private String permit;

    /**
	* 银行账号
	*/
    private String number;

    /**
	* 备注
	*/
    private String remarks;

    /**
	* 0删除  1未删
	*/
    private Boolean enable;

    /**
	* 添加人id
	*/
    private Integer addStaffId;

    /**
	* 添加时间
	*/
    private Date addTime;

    public Dictionary getDictionaryA() {
        return dictionaryA;
    }

    public void setDictionaryA(Dictionary dictionaryA) {
        this.dictionaryA = dictionaryA;
    }

    public Dictionary getDictionaryB() {
        return dictionaryB;
    }

    public void setDictionaryB(Dictionary dictionaryB) {
        this.dictionaryB = dictionaryB;
    }

    public Dictionary getDictionaryC() {
        return dictionaryC;
    }

    public void setDictionaryC(Dictionary dictionaryC) {
        this.dictionaryC = dictionaryC;
    }

    /**
	* 修改人
	*/
    private Integer updateStaffId;

    /**
	* 修改时间
	*/
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /*public Integer getBankType() {
        return bankType;
    }

    public void setBankType(Integer bankType) {
        this.bankType = bankType;
    }*/

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

   /* public Integer getTermsPayment() {
        return termsPayment;
    }

    public void setTermsPayment(Integer termsPayment) {
        this.termsPayment = termsPayment;
    }

    public Integer getCategory() {
        return category;
    }
*/
   /* public void setCategory(Integer category) {
        this.category = category;
    }*/

    public String getPermit() {
        return permit;
    }

    public void setPermit(String permit) {
        this.permit = permit;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", name=").append(name);
     /*   sb.append(", bankType=").append(bankType);*/
        sb.append(", bankName=").append(bankName);
        sb.append(", address=").append(address);
        sb.append(", bankAccount=").append(bankAccount);
       /* sb.append(", termsPayment=").append(termsPayment);
        sb.append(", category=").append(category);*/
        sb.append(", permit=").append(permit);
        sb.append(", number=").append(number);
        sb.append(", remarks=").append(remarks);
        sb.append(", enable=").append(enable);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}